package com.ruoyi.analysis.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工件生产数据对象 product_analysis_piece
 * 
 * @author ruoyi
 * @date 2022-12-12
 */
public class ProductAnalysisPiece extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 工件编号 */
    @Excel(name = "工件编号")
    private String pieceNum;

    /** 焊接次数 */
    @Excel(name = "焊接次数")
    private String weldingCount;

    /** 加工时间 */
    @Excel(name = "加工时间")
    private String machineTime;

    /** 开机时间 */
    @Excel(name = "开机时间")
    private String startTime;

    /** 工作效率 */
    @Excel(name = "工作效率")
    private String workRate;

    /** 焊丝消耗(KG) */
    @Excel(name = "焊丝消耗(KG)")
    private String weldingUse;

    /** 电能消耗(KWH) */
    @Excel(name = "电能消耗(KWH)")
    private String electUse;

    /** 气体消耗(L) */
    @Excel(name = "气体消耗(L)")
    private String gasUse;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPieceNum(String pieceNum) 
    {
        this.pieceNum = pieceNum;
    }

    public String getPieceNum() 
    {
        return pieceNum;
    }
    public void setWeldingCount(String weldingCount) 
    {
        this.weldingCount = weldingCount;
    }

    public String getWeldingCount() 
    {
        return weldingCount;
    }
    public void setMachineTime(String machineTime) 
    {
        this.machineTime = machineTime;
    }

    public String getMachineTime() 
    {
        return machineTime;
    }
    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }
    public void setWorkRate(String workRate) 
    {
        this.workRate = workRate;
    }

    public String getWorkRate() 
    {
        return workRate;
    }
    public void setWeldingUse(String weldingUse) 
    {
        this.weldingUse = weldingUse;
    }

    public String getWeldingUse() 
    {
        return weldingUse;
    }
    public void setElectUse(String electUse) 
    {
        this.electUse = electUse;
    }

    public String getElectUse() 
    {
        return electUse;
    }
    public void setGasUse(String gasUse) 
    {
        this.gasUse = gasUse;
    }

    public String getGasUse() 
    {
        return gasUse;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pieceNum", getPieceNum())
            .append("weldingCount", getWeldingCount())
            .append("machineTime", getMachineTime())
            .append("startTime", getStartTime())
            .append("workRate", getWorkRate())
            .append("weldingUse", getWeldingUse())
            .append("electUse", getElectUse())
            .append("gasUse", getGasUse())
            .toString();
    }
}
